package com.mmall.dao;

import com.mmall.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface OrderMapperCustom {
    //int deleteByPrimaryKey(Integer id);
    //
    //int insert(Order record);
    //
    //int insertSelective(Order record);
    //
    //Order selectByPrimaryKey(Integer id);
    //
    //int updateByPrimaryKeySelective(Order record);
    //
    //int updateByPrimaryKey(Order record);

    Order selectByUserIdAndOrderNo(@Param("userId") Integer userId, @Param("orderNo") Long orderNo);
}